﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCS.IConnect.Core.WebApi.Description
{
    /// <summary>
    /// A custom <see cref="HeaderAttribute"/> for request only.
    /// </summary>
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
    public class RequestHeaderAttribute : HeaderAttribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="HeaderAttribute" /> class.
        /// </summary>
        /// <param name="headerName">Name of the header.</param>
        /// <param name="description">The description.</param>
        /// <param name="remark">The remark.</param>
        public RequestHeaderAttribute(string headerName, string description, string remark = null) : base(headerName, description, remark)
        { }
    }
}